package com.doubi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.doubi.entity.ResponseEntity;
import com.doubi.entity.Userinfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserinfoService extends IService<Userinfo> {
    public int saveUserInfo(Userinfo userinfo);

    Integer selectIphone(String phoneNum, int userId);

    //保存图片
    Integer saveImg(String frilmsg,Integer userId);

    //条件查询用户
    ResponseEntity userConditionQuery(Integer pageNo, Integer pageSize, String selUserName, String selUserAccount, String selPhone, String selWeiXin);

    //批量删除用户
    int delUserByIds(List<Integer> userIds);
}
